package com.ctbu.api;


import com.ctbu.entity.BankInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("bank-service")
public interface BankService {
    /**
     * id查询，返回值对象类型
     * @param id
     * @return
     */
    @GetMapping("/bankInfo/remote/{id}")
    public BankInfo byId(@PathVariable int id);
}






























































































































